var mySwiper = new Swiper('.swiper-container', {
	//  direction: 'vertical', // 垂直切换选项
	autoplay: true, //自动播放
	loop: true, // 循环模式选项

	// 如果需要分页器
	pagination: {
		el: '.swiper-pagination',
	},

	// 如果需要前进后退按钮
	navigation: {
		nextEl: '.swiper-button-next',
		prevEl: '.swiper-button-prev',
	},

	// 如果需要滚动条
	scrollbar: {
		el: '.swiper-scrollbar',
	},
});

//店铺
var college = document.querySelectorAll('.college .col-md-3 img');
var line = document.querySelectorAll('.college_line');
if(college !== null) {
	for(var i = 0; i < college.length; i++) {
		college[i].index = i;
		college[i].onmouseover = function() {
			line[this.index].style.display = 'block';
		}
		college[i].onmouseout = function() {
			for(var j = 0; j < line.length; j++) {
				line[j].style.display = 'none';
			}
		}
	}
}